/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fri.businessLayer;

import fri.entiry.FrUser;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author NguyenDongUIT
 */
@Remote
public interface UserBeanRemote {

    List<FrUser> getAllUser();

    FrUser getUserByCode(String userCode);

    FrUser getUserByUserId(String userId);

    boolean checkLogin(FrUser user);

    FrUser getUserByEmail(String email);

    List<FrUser> getUserByFullName(String fullName);

    int addUser(FrUser user);

    
    
}
